home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / gfx / x11 / tvtwm.lha / tvtwm / twmrc < prev    next >
Text File  |  1993-05-22  |  3KB  |  171 lines

  1. IconDirectory  "/gcc/includes/X11R5/x11/bitmaps"
  2.  
  3. VirtualDesktop "3000x2000"
  4.  
  5. NoVersion
  6. NoRaiseOnMove
  7. NoRaiseOnResize
  8. NoTitleHighlight
  9. NoGrabServer
  10. NoHighlight
  11. NoTitleFocus
  12. ConstrainedMoveTime 0
  13. DecorateTransients
  14. #OpaqueMove
  15. PannerOpaqueScroll
  16. SqueezeTitle
  17. BorderWidth 1
  18. IconRegion  "200x100-200+10" NORTH EAST 75 25
  19. TitleFont   "-*-helvetica-bold-o-normal--*-140-*-*-*-*-iso8859-1"
  20. MenuFont "-*-helvetica-bold-r-normal--*-140-*-*-*-*-iso8859-1"
  21. IconFont "-*-helvetica-bold-r-normal--*-140-*-*-*-*-iso8859-1"
  22. ResizeFont  "-*-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1"
  23. IconManagerFont   "-*-helvetica-bold-r-normal--*-100-*-*-*-*-iso8859-1"
  24. SortIconManager
  25. StickyAbove
  26.  
  27. Sticky
  28. {
  29. "TWM IconManager"
  30. }
  31.  
  32. Cursors
  33. {
  34.    Button "left_ptr"
  35.    Menu "left_ptr"
  36.    Title "left_ptr"
  37.    Frame "left_ptr"
  38.    Icon "left_ptr"
  39. }
  40.  
  41. Monochrome
  42. {
  43.    IconManagerHighlight "#000000"
  44.    BorderColor "#000000"
  45.       TitleBackground "#ffffff"
  46.       TitleForeground "#000000"
  47.       MenuBackground "#ffffff"
  48.       MenuForeground "#000000"
  49.       MenuTitleBackground "#ffffff"
  50.       MenuTitleForeground "#000000"
  51.       IconBackground "#ffffff"
  52.       IconForeground "#000000"
  53.       IconBorderColor "#000000"
  54.    IconManagerBackground "#ffffff"
  55.    IconManagerForeground "#000000"
  56. }
  57.  
  58.  
  59. # define key bindings
  60.  
  61. MoveDelta 3
  62.  
  63. Function "move-or-raise"
  64. {
  65.    f.move
  66.    f.deltastop
  67.    f.raise
  68. }
  69.  
  70. Function "move-or-raiselower"
  71. {
  72.    f.move
  73.    f.deltastop
  74.    f.raiselower
  75. }
  76.  
  77. Function "move-or-iconify"
  78. {
  79.    f.move
  80.    f.deltastop
  81.    f.iconify
  82. }
  83.  
  84. Function "next-window"
  85. {
  86. }
  87.  
  88. Function "previous-window"
  89. {
  90. }
  91.  
  92. DefaultFunction f.nop
  93.  
  94. Button1  =  : title  : f.function "move-or-raiselower"
  95. Button3 =   : title     : f.menu "Title Menu"
  96. Button1 = m : window|icon  : f.iconify
  97. Button3 = c m  : window|icon  : f.function "move-or-raiselower"
  98. Button3 = m : window|icon  : f.resize
  99. Button1 =   : root      : f.menu "Clients"
  100. Button3 =   : root      : f.menu "System"
  101. Button1 =   : icon      : f.function "move-or-iconify"
  102.  
  103. #ForceIcons
  104.  
  105. Icons
  106. {
  107.    "XTerm"     "terminal"  # from IconDirectory
  108.    "xfd"    "xfd_icon"
  109. }
  110.  
  111. #UnknownIcon   "icon"
  112.  
  113. menu "Clients"
  114. {
  115. "Clients"      f.title
  116. "xlogo"     !"run xlogo >nil:"
  117. "xclock" !"run xclock >nil: -update 1"
  118. "Exit"      f.quit
  119. }
  120.  
  121. menu "System"
  122. {
  123.    "System"    f.title
  124.    "Window ops"      f.menu "Window Ops"
  125.    "Windows"      f.menu "TwmWindows"
  126.    ""       f.nop
  127.    "Refresh"      f.refresh
  128.    "Unfocus"      f.unfocus
  129.    "Show Icon Box"      f.showiconmgr
  130.    "Hide Icon Box"      f.hideiconmgr
  131.    "Version"      f.version
  132.    ""       f.nop
  133.    "Restart"      f.restart
  134.    "Logout"    f.quit
  135. }
  136.  
  137. menu "Window Ops"
  138. {
  139.    "Window Ops"      f.title
  140.    "Lower"        f.lower
  141.    "Raise"        f.raise
  142.    "Resize"    f.resize
  143.    "Move"         f.move
  144.    "Deiconify"    f.deiconify
  145.    "Iconify"      f.iconify
  146.    "Identify"     f.identify
  147.    "Focus"        f.focus
  148.    "Kill"         f.destroy
  149. }
  150.  
  151. menu "Title Menu"
  152. {
  153.    "Lower"        f.lower
  154.    "Raise"        f.raise
  155.    "Resize"    f.resize
  156.    "Move"         f.move
  157.    "Iconify"      f.iconify
  158.    "Identify"     f.identify
  159.    "Focus"        f.focus
  160.    "Kill"         f.destroy
  161.    "Dismiss"      f.delete
  162. }
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.